#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"

@implementation AppDelegate

typedef enum {
    TT_kLevelAll = 0,
    TT_kLevelVerbose = 0,
    TT_kLevelDebug,    // Detailed information on the flow through the system.
    TT_kLevelInfo,     // Interesting runtime events (startup/shutdown), should be conservative and keep to a minimum.
    TT_kLevelWarn,     // Other runtime situations that are undesirable or unexpected, but not necessarily "wrong".
    TT_kLevelError,    // Other runtime errors or unexpected conditions.
    TT_kLevelFatal,    // Severe errors that cause premature termination.
    TT_kLevelNone,     // Special level used to disable all log messages.
} TTLogLevel;


typedef NS_ENUM(NSUInteger, XloggerType) {
    all = TT_kLevelAll,
    verbose = TT_kLevelVerbose,
    debug = TT_kLevelDebug,
    info = TT_kLevelInfo,
    warning = TT_kLevelWarn,
    error = TT_kLevelError,
    fatal = TT_kLevelFatal,
    none = TT_kLevelNone

};


- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
   
    [self cccc:debug];
  [GeneratedPluginRegistrant registerWithRegistry:self];
  // Override point for customization after application launch.
  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

- (void)cccc:(XloggerType)type{
    TTLogLevel _level =  TTLogLevel(type);
    NSLog(@"_level.....%u",_level);
}

@end
